package com.wicket.okrpbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffTargetCheckItemStatusDto
 * @使用场景
 */
@Data
public class BffTargetCheckItemStatusDto implements Serializable {

  /**
   * 目标分类ID
   */
  @ApiModelProperty("目标分类ID")
  private String targetCategoryId;

  /**
   * 目标分类名称
   */
  @ApiModelProperty("目标分类名称")
  private String targetCategoryName;

  /**
   * 展示状态 OT_ARRANGE:未安排 IN_ARRANGEMENT:安排中 HAVE_ARRANGE:已安排 NOT_AT_THE:未开始 ONGOING:进行中 STAGES_COMPLETE:阶段完成 COMPLETE:全部完成
   */
  @ApiModelProperty("展示状态")
  private String displayStatus;

  /**
   * 是否已完成 TRUE:是 FALSE:否
   */
  @ApiModelProperty("是否已完成")
  private String isComplete;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffTargetCheckItemStatusDto that = (BffTargetCheckItemStatusDto) o;
      return  targetCategoryId == that.targetCategoryId&&targetCategoryName == that.targetCategoryName&&displayStatus == that.displayStatus&&isComplete == that.isComplete;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), targetCategoryId,targetCategoryName,displayStatus,isComplete);
    }

}
